<?php /* Smarty version Smarty-3.0.7, created on 2011-09-05 21:50:32
         compiled from "components/riport/riport.tpl" */ ?>
<?php /*%%SmartyHeaderCode:4260695144e6528083f44e3-51386763%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd731065bfdebae5c31220090682ab05e05f2965b' => 
    array (
      0 => 'components/riport/riport.tpl',
      1 => 1315207962,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '4260695144e6528083f44e3-51386763',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<div id="<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_wrapper" class="filterwrapper">
	<div id="<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_div_search" class="filtertitle">
		<span><?php echo $_smarty_tpl->getVariable('mainlist')->value['riportname'];?>
</span>
		<?php echo $_smarty_tpl->getVariable('filter')->value;?>

		<div class="buttondiv">
			<input type="button" id="<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_btn_generate" value="Generate riport" onclick="generateRiport('<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
')"/>
		</div>
	</div>
	<div id="<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_div_result" class="riporttable">
		<div class="allscrolldiv">
			<table id="<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_tbl_result" class='riporttable hide center'>
				<?php echo $_smarty_tpl->getVariable('searchtable')->value;?>

			</table>
		</div>
		<div class="buttondiv">
			<input type="button" id="<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_btn_export" class="hide" value="Export to XLS" onclick="exportRiport('<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
')"/>
		</div>
	</div>
</div>
<script language="javascript">
	var <?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_riport = new Riport("<?php echo $_smarty_tpl->getVariable('mainlist')->value['compname'];?>
_riport");
</script>
